﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="EstadoActual.aspx.cs" Inherits="EstadoActual" %>

<%@ Register src="../UserControls/ctlFiltros.ascx" tagname="ctlFiltros" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    
 <uc1:ctlFiltros ID="ctlFiltros" runat="server"   OnConsultar ="ctlFiltros_Consultar"  />
 
<div id="divMap">
   
    <asp:GridView ID="GridView1" runat="server">
    </asp:GridView>
   
    </div> 

<script type="text/javascript">
   /* var map;<input  type="button" onclick="test();" />
        function test() 
        {
            PageMethods.ObtenerCambios('1', SuccessHandler);
        }

        function SuccessHandler(cambios) {
            var markers = $.parseJSON(cambios);
            
            for (var i = 0; i < markers.length; i++) {
    
                var object=markers[i];
            
                var pos = new google.maps.LatLng(object.position.Lat, object.position.Lng);
                var options = { position: pos, map: map, title: "asd" };
                var m = new google.maps.Marker(options);
            }
           
       }*/
    
</script>

</asp:Content>

